﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Box.Cliente._Default" %>

<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">    
</asp:Content>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
        <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"></script>
        <link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/start/jquery-ui.css"
            rel="stylesheet" type="text/css" />
    <%--<script src="Scripts/jquery-2.1.0.min.js"></script>--%>
    <script src="Scripts/bootstrap.min.js"></script>
    <asp:Label runat="server" ID="lblAction"></asp:Label>
    <script type="text/javascript">
        //$("[id*=btnPopup]").live("click", function () {       
        $(document).ready(function () {

            $.ajax({
                type: "POST",
                url: "/servicioVentas.asmx/StockBajoProductos",
                contentType: "application/json",
                dataType: "json"

            }).done(function (data) {
                var exist = $.parseJSON(data.d);
                if (exist.Response == "False") {                    
                    return false;
                } else {
                    
                    $("#dialog").dialog({
                        title: "Mensaje Importante!!",
                        buttons: {
                            Close: function () {
                                $(this).dialog('Cerrar');
                            }
                        }
                    });
                    
                }
                return false;
            });
        });


        </script>
        
  <div id="cont">
       <div id="slide">
        <div class="row" style="padding: 0px 5% 0px 5% ">
        <div id="carousel-example-generic" class="carousel slide" data-ride="carousel" style="height:400px" >
        <ol class="carousel-indicators">
          <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
          <li data-target="#carousel-example-generic" data-slide-to="1" class="active"></li>
          <li data-target="#carousel-example-generic" data-slide-to="2" class="active"></li>
        </ol>
        <div class="carousel-inner" style="width:1430px;height:400px; float:initial"  >
          <div class="item active">
              <img src="/Imagenes/Slider/epp1.jpg"  />
          </div>
          <div class="item">
              <img src="/Imagenes/Slider/epp2.jpg" />
          </div>
          <div class="item">
              <img src="/Imagenes/Slider/epp3.png" />
          </div>
        </div>
        <a class="carousel-control left" href="#carousel-example-generic" data-slide="prev">&lsaquo;</a>
		<a class="carousel-control right" href="#carousel-example-generic" data-slide="next">&rsaquo;</a>
       
      </div>
      </div>
       </div>
    <div id="contenido">
    
             <div class="panel-body">
              
                <div id="info">
                    
                </div>
                <br />
                <%--<div class="ui horizontal divider" style="font-size: 30px;color:#a2a2a2;">
                    <i style="font-size: 30px;" class="massive settings icon"></i>Panel Fotografico</div>--%>
                     <br />
                
            </div>
            <div class="container">

                 <div id="cajaSr" class="row col-sm-12">
                      <div class="col-md-4"></div>
                      <div class="col-md-4"></div>
                      <div class="col-md-4">
                          <div id="dialog" style="display: none">
                            <%--<div class="modal-dialog modal-sm">Mensaje!!</div>--%>
                              
                                  Tiene productos con bajo Stock
                                    <br/>
                                    <b><a href="Ventas/frmListProductos.aspx" style="color: blue;" title="Ver Detalles">Ver Datalles</a></b>
                              
                        </div>
                      </div>

                     <div class="col-md-4">
                        <div class="modal-body">
                            <div class="item">
                                <asp:Image ID="Image7" ImageUrl="/Imagenes/Productos/1.jpg" runat="server" Width="290" Height="200" />
                                <span class="informacion">
                                    <div class="panel panel-primary">
                                        <div class="panel-heading">
                                            <h3 class="panel-title">OPCIÓN1</h3>
                                        </div>
                                        <div class="panel-body">
                                            AQUI EL TEXTO PEQUEÑO
                              <%--  <br />
                                <br />
                                <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>--%>
                                        </div>
                                        <div class="panel-footer">
                                            <a href="frmListProductos.aspx">>>Ir a el link…</a>
                                        </div>
                                    </div>

                                </span>
                            </div>
                        </div>
                     </div>
                      <div class="col-md-4">
                        <div class="modal-body">

                             <div class="item">
                               <asp:Image ID="Image1" ImageUrl="/Imagenes/Productos/2.jpg" runat="server" Width="290" Height="200"/>
                                <span class="informacion">
                                    <div class="panel panel-primary">
                                        <div class="panel-heading">
                                            <h3 class="panel-title">OPCIÓN 2</h3>
                                        </div>
                                        <div class="panel-body">
                                            AQUI EL TEXTO PEQUEÑO
                                        </div>
                                        <div class="panel-footer">
                                            <a href="">>>Ir al link…</a>
                                        </div>
                                    </div>

                                </span>
                            </div>

                        </div>
                        </div>

                         <div class="col-md-4">
                        <div class="modal-body">
                        
                                                    <div class="item">
                               <asp:Image ID="Image2" ImageUrl="/Imagenes/Productos/3.jpg" runat="server"  Width="290" Height="200"/>
                                <span class="informacion">
                                    <div class="panel panel-primary">
                                        <div class="panel-heading">
                                            <h3 class="panel-title">Opción 3</h3>
                                        </div>
                                        <div class="panel-body">
                                            AQUI EL TEXTO PEQUEÑO
                                        </div>
                                        <div class="panel-footer">
                                            <a href="">Ir a el link…</a>
                                        </div>
                                    </div>

                                </span>
                            </div>
                        </div>
                        </div>


            </div>
            </div>
    </div>
    </div>
</asp:Content>